package com.kuang.single;

/**
 * @author Administrator
 * @date 2021/5/27 15:22
 * Description:静态内部类
 */
public class Holder {
    private Holder(){}

    private static Holder getInstance() {
        return InnerClass.HOLDER;
    }

    public static class InnerClass{
        private static final Holder HOLDER = new Holder();
    }
}
